﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MazeNet.Communication
{
    /// <summary>
    /// EventArgs fuer Events mit MazeCom Objekten
    /// </summary>
    public class MazeNetEventArgs:EventArgs
    {
        /// <summary>
        /// MazeCom Objekt des Events
        /// </summary>
        public readonly MazeCom MazeComMessage;

        /// <summary>
        /// Konstruktor.
        /// </summary>
        /// <param name="_uMazeCom">Objekt, dass als MazeComMessage gesetzt wird</param>
        public MazeNetEventArgs(MazeCom _uMazeCom)
        {
            MazeComMessage = _uMazeCom;
        }
    }
}
